package com.zsy.service;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.zsy.bean.Bis_Order_Deposit;
import com.zsy.mapper.Bis_Order_DepositMapper;

@Service
@Transactional
public class Bis_Order_DepositServiceImpl implements Bis_Order_DepositService {
	
	@Autowired
	private Bis_Order_DepositMapper bis_Order_DepositMapper;

	@Override
	@Transactional(propagation=Propagation.SUPPORTS)
	public List<Bis_Order_Deposit> listAll(Map map) {
		return bis_Order_DepositMapper.listAll(map);
	}

	@Override
	@Transactional(propagation=Propagation.SUPPORTS)
	public Bis_Order_Deposit getByDeposit_id(String deposit_id) {
		return bis_Order_DepositMapper.getByDeposit_id(deposit_id);
	}

}
